HAL RAMECC types migration

This section provides information about the HAL RAMECC types migration.

HAL RAMECC state type definition

HAL1

HAL2

typedef enum
{
HAL_RAMECC_STATE_RESET,
HAL_RAMECC_STATE_READY,
HAL_RAMECC_STATE_BUSY,
HAL_RAMECC_STATE_ERROR
}HAL_RAMECC_StateTypeDef;
The state machine is removed in HAL2

HAL RAMECC handle type definition

HAL1

HAL2

RAMECC_HandleTypeDef;
The handle is removed in HAL2